/*
 * util.h
 *
 *  Created on: Sep 9, 2012
 *      Author: jeffrey
 */

#ifndef UTIL_H_
#define UTIL_H_
#include<iostream>
using namespace std;
class UtilFunc {
public:
	template<class T>
	static void printArray(T arr[], int n) {
		cout << "[";
		for (int i = 0; i < n; i++) {
			if (i != 0)
				cout << ", ";
			cout << arr[i];
		}
		cout << "]" << endl;
	}
};

#endif /* UTIL_H_ */
